package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.ActivityOrderDto;
import com.huilian.iotbox.data.vo.ActivityOrderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenqiwen
 * @CreateDate: 2022-06-13-20-07
 * @Description:
 */
@Mapper
public interface ActivityOrderDao {
    int updateStateAndVerifyDate(ActivityOrderDto activityOrder);

    ActivityOrderVo findCountDay(ActivityOrderDto activityOrderDto);

    List<ActivityOrderVo> findList(ActivityOrderDto activityOrderDto);

    /**
     * 根据ID查询
     */
    ActivityOrderVo findActivityOrderById(Long id);

    List<ActivityOrderVo> findExportList(ActivityOrderDto activityOrderDto);
}
